package sy.service;

import sy.pageModel.DataGrid;
import sy.pageModel.OrderDoctor;

/**
 * 助医
 */
public interface OrderDoctorServiceI {
	
	public DataGrid datagrid(OrderDoctor order) throws Exception;
	
	public DataGrid datagridForAccepted(OrderDoctor order) throws Exception;

    public OrderDoctor add(OrderDoctor order) throws Exception;

    /**
     * 修改订单
     * @param order
     * @return
     * @throws Exception
     */
    OrderDoctor edit(OrderDoctor order) throws Exception;

    /**
     * 保存订单
     * @param order
     * @return
     * @throws Exception
     */
    OrderDoctor editOrder(OrderDoctor order) throws Exception;

    /**
     * 取消订单
     * @param order
     * @return
     * @throws Exception
     */
    OrderDoctor editOrderStatus(OrderDoctor order) throws Exception;

    public OrderDoctor addDetails(OrderDoctor order) throws Exception;
}
